<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试锚点</title>
</head>
<body>
    <div style = "height: 80vh;;background: green;"></div>
    <div style = "height: 80vh;;background: red;"></div>
    <div style = "height: 80vh;;background: yellow;"></div>
    <a name = "sanlou"></a>
    <div style = "height: 80vh;;background: blue;"></div>
    <div style = "height: 80vh;;background: pink;"></div>
    <div style = "height: 80vh;;background: black;"></div>
    <a href="?a=sanlou">上电梯</a>
    <a href="#sanlou">上电梯</a>
</body>
</html>

<!-- 锚点测试 -->